/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.check.checkstandardsignin.entity;

import com.jeeplus.modules.sys.entity.Area;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 点检签到Entity
 * @author 刘明星
 * @version 2020-10-14
 */
@Data
public class CheckStandardSignin extends DataEntity<CheckStandardSignin> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="流程实例ID", align=2, sort=1)
	private String procInsId;		// 流程实例ID
	@ExcelField(title="地点", fieldType=Area.class, value="area.name", align=2, sort=2)
	private Area area;		// 地点
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="时间", align=2, sort=3)
	private Date time;		// 时间
	
	public CheckStandardSignin() {
		super();
	}

	public CheckStandardSignin(String id){
		super(id);
	}
}